package com.wanbing.factory.factorymethod;

import com.wanbing.factory.IJob;

public class FactoryMethodTest {

    public static void main(String[] args) {
        IFactoryMethod javaFactory = new JavaProgrammerFactory();
        IJob java = javaFactory.create();

        IFactoryMethod AvFactory = new AvActorFactory();
        IJob av = AvFactory.create();

    }
}
